.home-card {
  width: 686rpx;
}
ul, li {
  list-style: none;
}
:root {
  --main-color: #FF766C;
  --sub-color: #FF9832;
}

body, page {
  background: #f7f7f7;
}

.nav-padding {
  //padding-top: var(--status-bar-height);
}

.bg-white {
  background-color: #fff;
}

.uni-button-color {
  color: var(--main-color) !important;
}

.btn {
  border-radius: 40rpx 40rpx 40rpx 40rpx;
  border: 2rpx solid #FF776A;
  font-size: 24rpx;
  color: #FF766C;
  background: none;
  box-sizing: border-box;
  padding: 12rpx 28rpx;
  display: inline-block;
  line-height: 33rpx;
  margin: 0;
  &.large {
    font-size: 28rpx;
    padding: 20rpx 48rpx;
  }
  &.primary {
    background: linear-gradient( 90deg, #FF766C 0%, #FF4638 100%);
    color: #FFFFFF;
  }
  &.black {
    color: #000000!important;
    border-color: #000000;
  }
}
.form {
  .form-item {
    width: 100%;
    background: #FFFFFF;
    box-shadow: inset 0rpx -1rpx 0rpx 0rpx #EBEEF1;
    display: flex;
    align-items: center;
    padding: 28rpx 32rpx;
    font-size: 28rpx;
    color: #B6BDBD;
    .label {
      display: inline-block;
      width: 160rpx;
      color: #3B3D3D;
      font-weight: bold;
    }
    .sub {
      font-size: 28rpx;
      color: #B6BDBD;
      margin-left: 28rpx;
    }
    .arrow {
      position: absolute;
      right: 32rpx;
      display: flex;
      align-items: center;
      color: #B6BDBD;
      image {
        width: 32rpx;
        margin-left: 12rpx;
      }
    }
    &.upload {
      flex-direction: column;
      align-items: start;
      .label {
        margin-bottom: 12rpx;
      }
      .detail {
        .sub {
          margin-bottom: 24rpx;
          margin-left: 0;
          font-size: 24rpx;
        }
        .files {
          display: flex;
          column-gap: 24rpx;
          flex-wrap: wrap;
          row-gap: 16rpx;
          width: 500rpx;
          .files-item {
            width: 128rpx;
            height: 128rpx;
            background: #F6F6FB;
            border-radius: 4rpx 4rpx 4rpx 4rpx;
            .empty {
              height: 100%;
              font-size: 16rpx;
              color: #969699;
              display: flex;
              align-items: center;
              flex-direction: column;
              justify-content: center;
              .icon {
                width: 40rpx;
                margin-bottom: 24rpx;
              }
            }
          }
        }
      }
    }
    uni-switch {
      position: absolute;
      right: 32rpx;
    }
  }
}

.dialog-form {
  width: 100%;
  .dialog-form-item {
    display: flex;
    align-items: center;
    margin-bottom: 28rpx;
    .label {
      width: 120rpx;
      text-align: right;
      font-size: 24rpx;
      color: #353535;
      margin-right: 28rpx;
    }
    .input {
      background: #F2F2F2;
      border-radius: 8rpx 8rpx 8rpx 8rpx;
      width: 304rpx;
      height: 56rpx;
      font-size: 24rpx;
      color: #646466;
      padding: 12rpx 24rpx;
      box-sizing: border-box;
    }
    .arrow {
      position: absolute;
      right: 32rpx;
      font-size: 24rpx;
      color: #B6BDBD;
      display: flex;
      align-items: center;
      image {
        width: 32rpx;
        margin-left: 12rpx;
      }
    }
    .switch {
      scale: .8;
    }
    &.upload {
      flex-direction: column;
      align-items: start;
      .files {
        margin-top: 28rpx;
        display: flex;
        column-gap: 8rpx;
        .file {
          width: 224rpx;
          height: 156rpx;
          background: #F6F7FB;
          border-radius: 16rpx 16rpx 16rpx 16rpx;
          display: flex;
          justify-content: center;
          flex-direction: column;
          align-items: center;
          .icon {
            width: 84rpx;
          }
          p {
            color: #969699;
            font-size: 16rpx;
          }
        }
      }
      .file-tip {
        font-size: 20rpx;
        color: #969699;
        margin-top: 32rpx;
      }
    }
  }
}

.uni-table {
  min-width: unset!important;
  .uni-table-th {
    height: 64rpx;
    background-color: var(--main-color);
    .uni-table-th-content {
      color: #fff;
      white-space: nowrap;
      font-size: 20rpx;
    }
  }
  .uni-table-td {
    font-size: 20rpx!important;
  }
}

.pager {
  display: flex;
  padding: 40rpx 0;
  justify-content: center;
  column-gap: 40rpx;
  .btn {
    width: 282rpx!important;
  }
}

.nav {
  .search {
    display: flex;
    align-items: center;
  }
  .input {
    width: 324rpx;
    height: 64rpx;
    background: #F2F2F2;
    border-radius: 32rpx 32rpx 32rpx 32rpx;
    display: flex;
    align-items: center;
    padding: 16rpx 24rpx;
    box-sizing: border-box;
    input {
      font-size: 24rpx;
    }
  }
  .icon {
    width: 32rpx;
    margin-right: 5rpx;
  }
}

.uni-dialog-title-text.uni-popup__info {
  font-size: 32rpx!important;
  color: #353535!important;
  font-weight: bold!important;
  letter-spacing: 1px;
}

.uni-popup.top {
  padding-top: 80rpx;
}

.tip {
  width: 100%;
  padding: 24rpx 40rpx;
  font-size: 24rpx;
  color: #FF6619;
  background: #FFEFE6;
  box-sizing: border-box;
}

.tag {
  width: 100%;
  height: 88rpx;
  background: #F2F2F2;
  font-size: 28rpx;
  color: #1A1A1A;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  .tag-item {
    width: 340rpx;
    height: 72rpx;
    line-height: 72rpx;
    text-align: center;
    &.active {
      font-weight: bold;
      background: #FFFFFF;
      box-shadow: 0rpx 2rpx 4rpx 0rpx rgba(0,0,0,0.04);
      border-radius: 12rpx 12rpx 12rpx 12rpx;
    }
  }
}

.scroll {
  display: flex;
  flex-direction: column;
  height: 100vh;
  scroll-view {
    flex: 1;
    overflow: hidden;
  }
}